#!/bin/bash

url=$1
prj=${url##*/}
prj=${prj%.git}
echo "adding project: $prj"
#osc mkpac $prj
#sed "s|URL|${url}|g" service.template > ${prj}/_service
#osc add ${prj}/_service
osc ci ${prj} -m "add ${prj}"


